package com.longlong.controller.frontDeskApi;

import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;


public class ApiBaseController {

    @Autowired(required = false)
    public HttpServletRequest request;

    @Autowired(required = false)
    public HttpServletResponse response;


    /*
    * 处理上传异常
    * @param t
    * @return
    * */
    /*@ExceptionHandler(MultipartException.class)
    public R handleAll(Throwable t)throws Exception{
        t.printStackTrace();;
        request R.error()
    }*/



}
